package com.k1998.mybatis.dao;

import com.k1998.mybatis.bean.JxCloud;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IJxCloudDao {

    public List<JxCloud> findAll(@Param("name") String name,@Param("display") int display, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);
    /**
     * @Author: ChenYuxiang
     * @Description: //TODO
     * @Param: name display 都有则取交集
     * @param name 若不为空 like查询name
     * @param display 若为0,1查询对应组别的个数 否则不查询
     * @return: int 返回的个数
     * @Date: 17:46 2021/2/7
     **/
    public int getCounts(@Param("name") String name,@Param("display") int display);
    public JxCloud detailJxCloud(JxCloud jxcloud);
    public int insertJxCloud(JxCloud jxcloud);
    public int updateJxCloud(JxCloud jxcloud);
    public int batchDeleteJxCloud(List<String> list);
    public int reversDisplayJxcloud(List<String> list);
}

